#
# Be sure to run `pod lib lint JWTextPickerManager.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'JWTextPickerManager'
  s.version          = '1.0.7'
  s.summary          = '文本选择器，最多支持3列'
  s.homepage         = 'https://gitee.com/jw10126121/JWTextPickerManager'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'linjw' => '10126121@qq.com' }
  s.source           = { :git => 'https://gitee.com/jw10126121/JWTextPickerManager.git', :tag => s.version.to_s }

  s.ios.deployment_target = '9.0'
  s.swift_version = '5.0'
  s.default_subspec = 'Base'
  
  s.subspec 'Base' do |base|
      base.source_files  = 'JWTextPickerManager/Base/**/*'
      base.framework  = 'UIKit'
      base.dependency 'XBPickerView'
      base.dependency 'XBDialog'
  end
  
  s.subspec 'RxSwift' do |base|
      base.source_files  = 'JWTextPickerManager/RxSwift/**/*'
      base.framework  = 'UIKit'
      base.dependency 'JWTextPickerManager/Base'
      base.dependency 'RxSwift'
      base.dependency 'RxCocoa'
  end
  
  # s.resource_bundles = {
  #   'JWTextPickerManager' => ['JWTextPickerManager/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
